home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / ELECTRON / 2592.ZIP / PRTC / PRTCALC.TXT < prev   
Text File  |  1991-02-24  |  10KB  |  161 lines

  1.  
  2.  
  3.                    PRT Calc
  4.                   ~~~~~~~~~~
  5.                   Platinum Resistance Thermometer Calculator                 
  6.                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                
  7.  
  8.      I. Introduction.
  9.     II. Main menu.
  10.    III. Manual calculation.
  11.     IV. Automatic calculation.
  12.      V. Valid keyboard inputs.
  13.     VI. Small print.
  14.  
  15.  
  16. I                                  PRT Calc
  17.                   ~~~~~~~~~~
  18.    PRT Calc  is  intended  as  an aid for anyone who uses platinum resistance
  19. thermometers. It will calculate the resistance of a PRT  at  any  temperature
  20. within  the  specified  range  or  will  calculate  the  temperature  if  the
  21. resistance is known. PRT Calc can, therefore, be used by  people  calibrating
  22. or designing platinum resistance thermometers based on BS 1904, or people who
  23. wish to use PRT sensors directly into a DVM or bridge without any intervening
  24. electronics.
  25.    The formulae used by PRT Calc  were  derived  from  the  British  Standard
  26. BS 1904 : 1984, for which full credit is acknowledged.  The  formulae  should 
  27. give no errors greater than the least significant digit  in  the  BS  tables, 
  28. hence ensuring that any results obtained by this program can be considered to 
  29. be correct for all practical purposes. (If anyone discovers any errors PLEASE 
  30. let me know).
  31.  
  32.  
  33. II                                MAIN MENU                                  
  34.                                  ~~~~~~~~~~~                                 
  35.    The  main  menu  in  PRT Calc is used, both to change the various options,
  36. such as temperature scale, and to initiate the different modes of operation.
  37.    Menu items are selected by using the vertical curser controls to highlight
  38. the required item, or by pressing the appropriate  number  or  function  key. 
  39. Once an option item has  been  selected,  the  option  can  be  activated  by 
  40. pressing RETURN or changed by using the horizontal curser keys,  or  in  some 
  41. cases by pressing a letter key. Brief instructions are given at the bottom of 
  42. the screen for each item. Details of each item are as follows.
  43.      1. Help
  44. This item invokes the Help mode and,  basically,  displays  or  prints  these 
  45. pages.
  46.      2. Exit to DOS
  47. Exits from PRT Calc to DOS or whatever shell is in use.
  48.      3. Manual calculation
  49. This starts the  normal  mode  of  operation  in  which  the  user  inputs  a 
  50. temperature or resistance and PRT Calc calculates the other (depending on the
  51. setting of the direction option). 
  52.      4. Automatic calculation
  53. This mode is more useful if the  user  wishes  to  create  a  mini  table  of 
  54. results. (The original BS tables are obviously better  if  more  than  a  few 
  55. values are required.) PRT Calc prompts for a starting value, an end value and
  56. a step size. It then performs the required calculations automatically. It  is 
  57. advisable to enable the printer option before using this mode.
  58.      5. Change direction
  59. This is one of the option  items,  with  just  two  options;  temperature  to 
  60. resistance or vice verse. The default is temp > res. in which case  the  user 
  61. inputs a temperature and  PRT Calc  calculates  the  corresponding resistance
  62. Either of the horizontal curser keys, or the RETURN key, just toggle  between 
  63. the two options.
  64.      6. Printer output
  65. This is another  two  option  item;  enabled  or  disabled.  The  default  is 
  66. disabled, in which case the results are displayed on the screen only. If this 
  67. option is enabled then results are also output to a printer (assuming one  is 
  68. connected of course).
  69.      7. Select temperature scale
  70. This item  has  four  options;  C,F,K,R;  (Celsius,  Fahrenheit,  Kelvin  and 
  71. Reaumer). The default is C. The horizontal curser  keys  scroll  through  the 
  72. options, or the choice can be  made  directly  by  pressing  the  appropriate 
  73. letter key. 
  74.      8. Nominal resistance
  75. This item enables the user to enter the nominal resistance of the  PRT  (i.e. 
  76. at 0 C). The default for this value is  100 Ω,  which  is  the  normal  Pt100 
  77. standard. There are few exceptions, such as some high temperature probes. 
  78.  
  79.  
  80. III                           MANUAL CALCULATION                             
  81.                              ~~~~~~~~~~~~~~~~~~~~                            
  82.    To start manual calculation, highlight item 3 in the main menu  and  press 
  83. RETURN, after changing any of the options if required. Manual calculation  is 
  84. the normal mode of operation for PRT Calc. It accepts any valid input entered
  85. via the keyboard and immediately displays the result. 
  86.    Firstly it displays a header showing  the  current  settings  of  all  the 
  87. options and then prompts you for an input. If the input is valid (see section 
  88. headed Valid Keyboard Inputs) it then displays both the input and the  result 
  89. in two columns. (The reason it redisplays the input is that it does so  in  a 
  90. consistent, readable format, acting as  a  visual  check  on  the  input  and 
  91. tidying up the printout if enabled). If the printer option has  been  enabled 
  92. then the header and both columns are also printed. If the  input  is  invalid 
  93. then a warning message is displayed (and printed). If the input is only  just 
  94. outside the valid range then a result is given along with a warning that  the 
  95. result is only approximate. 
  96.    When you have finished, or to change any of the options, press RETURN with 
  97. no input. This returns you to the main menu. BUT REMEMBER,  any  results  not 
  98. printed will be lost. Also, any results which  scroll  off  the  top  of  the 
  99. screen will be lost, so it is advisable to enable the printer if more than  a 
  100. screen full of results are expected. The  contents  of  the  screen  can,  of 
  101. course, be printed at any time by pressing the Prt Sc key. 
  102.  
  103.  
  104. IV                          AUTOMATIC CALCULATION                            
  105.                            ~~~~~~~~~~~~~~~~~~~~~~~                           
  106.    This mode works in a  similar  manner  to  the  manual  mode  but PRT Calc
  107. supplies the inputs. To start this mode, highlight item 4 and  press  RETURN. 
  108. PRT Calc will display (and print if enabled) the header and  then prompt  you
  109. for three pieces of information: start, end and interval. For example, If you 
  110. want the results for all values from 50 to 100 in steps of 0.5 then enter  50 
  111. as the start value,  100  as  the  end  and  0.5  as  the  interval. PRT Calc
  112. interprets your input but does not check for out  of  range  values  at  this 
  113. stage (see Valid Keyboard Inputs). PRT Calc then  asks  you  to confirm  your
  114. input and, if OK, it performs all the calculations automatically,  displaying 
  115. (and printing) the results in two columns. It is at this stage  that  out  of 
  116. range warnings are issued in the same manner as the manual mode. 
  117.    Because of it's automatic nature, and the fact that any  results  scrolled 
  118. off the screen will be lost, it is advisable to  always  enable  the  printer 
  119. option before using this mode; assuming, of course, that you have  a  printer 
  120. connected). 
  121.  
  122.  
  123. V                           VALID KEYBOARD INPUTS                            
  124.                            ~~~~~~~~~~~~~~~~~~~~~~~                           
  125.    PRT  Calc  is  fairly  versatile  in  what  inputs it will accept, but not
  126. limitless. You can use normal numbers (E.G. 0.0015  or  2300),  you  can  use
  127. scientific  notation  (E.G.  1.5e-3 or 2.3e3), or you can use a suffix letter
  128. (E.G. 1.5m or 2.3k). When using a suffix PRT Calc will accept f,p,n,u,m,k,M,G
  129. or T. It will even accept the Greek letter µ (mu) if you want to be pedantic!
  130. Anything after the first letter is ignored so 2.3k is sufficient for 2.3  kΩ.
  131. The  suffix  must NOT be placed in the middle of the number, I.E.- 2k3 is NOT
  132. valid and will be interpreted as 2k. Commas must NOT be included. 2,300  will
  133. be interpreted as 2.
  134.    Temperature inputs must be in the selected temperature  scale.  To  change
  135. the scale use item 7 in  the  main  menu.  All  inputs  must  be  within  the 
  136. specified range, although inputs just outside the limits will be accepted and 
  137. a warning displayed. The valid range is displayed in the header. 
  138.  
  139.  
  140. VI                               SMALL PRINT                                 
  141.                                 ~~~~~~~~~~~~~                                
  142.    PRT Calc is intended to be User Supported, which means you are free to use
  143. it, copy it and pass it on to anyone on a trial basis. However, if  you  find 
  144. it useful then a financial contribution to the  author  would  be  in  order. 
  145. Companies should send £50 but if you  are  a  private  individual  just  send 
  146. whatever you think the program is worth to you. (Contributors will receive  a 
  147. copy of the latest version of this program and maybe others I happen to  have 
  148. lying around at  the  time!)  There  is  no  printed  manual  available  (you 
  149. shouldn't need one!) and there is no official after sale support. However, if 
  150. you are able to get in touch with me then I will give any assistance I can.
  151.    Suggestions and corrections will be accepted just as  enthusiastically  as 
  152. money (well almost!).
  153.                                            Roly Williams
  154.                                        22 Morrison Drive
  155.                                               Lennoxtown
  156.                                              Strathclyde
  157.                                                  G65 7BA
  158.  
  159.                                        Phone; 0360-31157
  160.  
  161.